import Vue from 'vue'
import Router from 'vue-router'

const index = () => import('@/views/index')
Vue.use(Router)

const routes = [
  {
    path: '/',
    name: 'index',
    component: index,
    meta: {
      title: '首页'
    }
  },
]
const router = new Router(
  {
    mode: "history",
    routes
  }
)
export default router


